<?php

namespace App\Service;

use App\Dao\PriceHourlyDao;
use App\Service\Traits\KeylineTrait;
use Hyperf\Di\Annotation\Inject;

class PriceHourlyService
{
    use KeylineTrait;
    #[Inject]
    protected PriceHourlyDao $dao;
    function handle($time='')
    {
        if(!$time){
            $time=date('Y-m-d H:00:00');
        }
        return $this->dao->handle($time);
    }
}